import { memo } from 'react';

const Profile = memo((props) => {
  console.log("Profile");
  return (
    <div>
      <h2>Profile:{props.message}</h2>
    </div>
  );
})

export default Profile;
